using System;
using System.Collections;
using System.Text;

using LibrErian.Interfaces.Services;
using Microsoft.Practices.CompositeUI;
using LibrErian.Model;

namespace LibrErian.Services
{
    [Service(typeof(IAuthorService))]
    public class AuthorService : ServiceBase, IAuthorService
    {
        public IList GetAuthors()
        {
            return DataManager.GetAuthors();
        }

        public void Save(Author author)
        {
            DataManager.SaveOrUpdate(author);
        }
    }
}
